<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>全局异常显示</title>
</head>
<body>
<div>
  <h1>全局异常报错提示信息</h1>
  <a href="#" th:href="@{/}">返回主页面</a>
  错误信息:<h1 th:text="${msg}"></h1>
</div>
</body>
</html>